package service;

import java.util.ArrayList;
import java.util.List;

import dao.GoodDaoImpl;
import dao.GoodsDao;
import model.Goods;

public class GoodsServiceImpl implements GoodsService {
	GoodsDao dao=new GoodDaoImpl();
	@Override
	public List<Goods> showAllGoods() {
		List<Goods> list=new ArrayList<Goods>();
		list=dao.getAll();
		return list;
	}

}
